import java.util.Date;

public class Timer {
	private Date start;
	
	public void reset(){
		start = new Date();		
	}
	public long getTime()
	  {
	    Date now = new Date();
	    long nMillis = now.getTime() - start.getTime();

	    return nMillis;
	  }
	
}
